/* 底部内容 */
.footer {
  width: 100%;
  padding: 20px;
  height: fit-content;
  border-top: 1px solid #eee;

  .footer-content {
    display: flex;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: space-between;

    .footer-nav-container {
      width: 55%;
      display: flex;

      .footer-nav {
        width: 30%;

        dt {
          margin: 16px 0;
          font-weight: bold;
        }

        dd {
          padding: 5px 0;
        }

        a {
          font-size: 14px;
          color: rgba(0, 0, 0, .6);
        }

      }

    }

    /* 移动端底部导航 */
    .mobile-footer-nav-container {
      width: 100%;
      display: none;

      .mobile-nav-container {
        width: 100%;
        height: 50px;
        cursor: pointer;
        overflow: hidden;
        transition: height .3s;

        .nav-title {
          height: 50px;
          display: flex;
          width: inherit;
          line-height: 50px;
          align-items: center;
          color: rgba(0, 0, 0, .8);
          justify-content: space-between;

          span {
            font-size: 14px;
          }

          .arrowhead {
            width: 10px;
            height: 10px;
            margin-right: 10px;
            transform: rotate(315deg);
            transition: transform .3s;
            border-right: 1px solid rgba(0, 0, 0, .3);
            border-bottom: 1px solid rgba(0, 0, 0, .3);
          }

        }

        ul {
          display: flex;
          flex-wrap: wrap;

          a {
            margin: 5px;
            font-size: 12px;
            color: rgba(0, 0, 0, .6);

            &:hover {
              color: #0095ff;
            }

          }

        }

        &:hover {
          height: 100px;

          .arrowhead {
            transform: rotate(405deg);
          }
        }

      }

    }

    .online-service {
      text-align: right;

      p.phone-number {
        font-size: 28px;
      }

      p.online-time {
        margin: 12px 0;
        font-size: 10px;
        color: rgba(0, 0, 0, .6);
      }

      button {
        color: #fff;
        border: none;
        width: 100px;
        height: 30px;
        outline: none;
        cursor: pointer;
        font-size: 12px;
        line-height: 30px;
        text-align: center;
        background-color: #0195ff;

        &:hover {
          background-color: #1a9fff;
        }

      }

    }

  }

}

/* 响应式样式 */
@media screen and (max-width: 780px) {
  .online-service {
    margin-top: 10px;
    text-align: left !important;
  }

  .footer-nav-container {
    display: none !important;
  }

  .mobile-footer-nav-container {
    display: block !important;
  }
}